package pme;

public class ConstantValue extends Value{
	private double currNum;
	
	/**
	 * sets a number as a new Value
	 * 
	 * @param initNum
	 */
	public ConstantValue(double initNum){
	 currNum = initNum;	
	}
		
	public double evaluate(){
		return currNum;
	}

}
